#ifndef DESCENT_DETAIL_MATERIAL_HPP_INCLUDED
#define DESCENT_DETAIL_MATERIAL_HPP_INCLUDED

/**
 * @file 
 */

#include <cstdint>
#include <boost/filesystem.hpp>
#include <mocha/color.hpp>

namespace fs = boost::filesystem;

namespace descent {
/**
 * Material.
 */
class material {
public:
	material();
	~material();
	/**
	 * 
	 * @param file 
	 */
	void import_xml(const fs::path& file);
private:
	/// Base logarithmic width of the material. Used to compute the correct texture coordinates.
	std::uint8_t width_;
	/// Blending color. 0xFFFFFFFF (white) results in no blending.
	mocha::graphics::color color_;
};
}

#endif

